package com.pojo.Hua;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Production {

  private Long id;
  private Long batchNumber;
  private String administrator;
  private Long materialId;
  private Long productionLineId;
  @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  private Date dateOfManufacture;
  private Long machineToolId;
  private String assemble;
  private String sprayLacquer;
  private String checkout;
  private String state;
  private HuaMaterial huaMaterial;
  private HuaProductionlines huaProductionlines;
  private HuaMachineTool huaMachineTool;


}
